previewWidth
Type
property
Summary
The width of the camera's resolution.
Syntax
get the previewWidth of <widget>
set the previewWidth of <widget> to <pixels>
Description
Set the previewWidth to specify the number of pixels in the width component of the barcode scanning camera preview resolution. If the exact value is not available, the best matching value is selected.
note
The camera preview size will always corresponds to the aspect ratio of an associated full picture size,
note
The camera preview size is always assumed to be in landscape.
note
This property does not effect the size of the widget.
Related
property: previewHeight, previewFPS
Compatibility and Support
OS
android